package cn.gok.manage.web.vo;

import cn.gok.pojo.Cart;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author: 鸭鸭
 * @ClassName:CartVO
 * @Package:cn.gok.manage.web.vo
 * @Description:
 * @date: 2021/8/6
 * @time: 9:38
 */
public class CartListVO {
    private int id;
    private int user_id;
    private int product_id;
    private int quantity;//商品数量
    private String productName;
    private String productSubtitle;//商品副标题
    private String productMainImage;
    private BigDecimal productPrice;//商品单价
    private int productStatus;//商品状态1-在售 2-下架 3-删除
    private BigDecimal productTotalPrice;
    private int productStock;//商品库存
    private int productChecked;//商品是否被选中
    private String limitQuantity;//是否超过库存

    public CartListVO() {
    }

    public CartListVO(int id, int user_id, int product_id, int quantity, String productName, String productSubtitle, String productMainImage, BigDecimal productPrice, int productStatus, BigDecimal productTotalPrice, int productStock, int productChecked, String limitQuantity) {
        this.id = id;
        this.user_id = user_id;
        this.product_id = product_id;
        this.quantity = quantity;
        this.productName = productName;
        this.productSubtitle = productSubtitle;
        this.productMainImage = productMainImage;
        this.productPrice = productPrice;
        this.productStatus = productStatus;
        this.productTotalPrice = productTotalPrice;
        this.productStock = productStock;
        this.productChecked = productChecked;
        this.limitQuantity = limitQuantity;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getProduct_id() {
        return product_id;
    }

    public void setProduct_id(int product_id) {
        this.product_id = product_id;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductSubtitle() {
        return productSubtitle;
    }

    public void setProductSubtitle(String productSubtitle) {
        this.productSubtitle = productSubtitle;
    }

    public String getProductMainImage() {
        return productMainImage;
    }

    public void setProductMainImage(String productMainImage) {
        this.productMainImage = productMainImage;
    }

    public BigDecimal getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    public int getProductStatus() {
        return productStatus;
    }

    public void setProductStatus(int productStatus) {
        this.productStatus = productStatus;
    }

    public BigDecimal getProductTotalPrice() {
        return productTotalPrice;
    }

    public void setProductTotalPrice(BigDecimal productTotalPrice) {
        this.productTotalPrice = productTotalPrice;
    }

    public int getProductStock() {
        return productStock;
    }

    public void setProductStock(int productStock) {
        this.productStock = productStock;
    }

    public int getProductChecked() {
        return productChecked;
    }

    public void setProductChecked(int productChecked) {
        this.productChecked = productChecked;
    }

    public String getLimitQuantity() {
        return limitQuantity;
    }

    public void setLimitQuantity(String limitQuantity) {
        this.limitQuantity = limitQuantity;
    }
}
